﻿using System;

namespace Common.Exceptional.Routing
{
    /// <summary>
    /// IExceptionHandler 接口的子类，T类型异常的子类将会被路由到此处理器
    /// </summary>
    /// <typeparam name="T"></typeparam>
    // ReSharper disable once UnusedTypeParameter
    public interface IExceptionHandler<T> where T : Exception
    {
        void Handle(ExceptionMessage exceptionMessage);
    }
}